True, but we allow our customer to create custom reports using internal APIs, which will be displayed in UI. So storing initial data will be tricky. That's why I was hoping that somehow jsreports saves the returned data of script and use different recipe.
But I will use above solution for now. Thanks.